function f=func(x, y)
% It's 2D-Rosenbrock.
    f = (1.0 - x).^2 + 100.0 * (y - x.^2).^2;
end